﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using supervisor_de_cajas.Mantenedores;
using supervisor_de_cajas.Interfaces;

namespace supervisor_de_cajas
{
    public partial class MenuSupervisor : Form
    {
        public MenuSupervisor()
        {
            InitializeComponent();
        }

        private void cajeroToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cajero c = new Cajero();
            c.ShowDialog();
        }

        private void clienteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            cliente c = new cliente();
            c.ShowDialog();
        }

        private void promocionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Promocion p = new Promocion();
            p.ShowDialog();
        }

        private void cerrarSesiónToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DialogResult boton = MessageBox.Show("¿Está seguro que desea cerrar su sesión?", "Advertencia", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);
            if (boton == DialogResult.Yes)
            {
                this.Close();
                login log = new login();
                log.Show();
                

            }
            else
            {
            }//boton cancelar
        }

        private void supervisorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Supervisor s = new Supervisor();
            s.ShowDialog();
        }

        private void clienteFacturaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            clientefactura c = new clientefactura();
            c.ShowDialog();
        }

        private void multarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Multa m = new Multa();
            m.ShowDialog();
        }

        private void retirosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Retiro r = new Retiro();
            r.ShowDialog();
        }

        private void arqueoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Arqueo a = new Arqueo();
            a.ShowDialog();
        }

        private void arqueoToolStripMenuItem1_Click(object sender, EventArgs e)
        {
           
        }
    }
}
